{config_load file="site.conf" section="setup"}
{include file="header.tpl" title={$nam}}
{include file="menu.tpl" title={$nam}}
    <!-- Star Page Content  -->
    <div id="page-content"> 
      <!-- Start Page Header -->
      <div id="page-header">
        <h1>RF Office</h1>
      </div>
      <!-- End Page Header --> 
      <!-- Start Grid -->
      <div class="container_12"> 
        <!-- Start Web Stats -->
        <div class="grid_12">
          <div class="box-header"> {$nam} </div>
          <div class="box {if isset($tbl)}{$tbl}{/if}">
            {if isset($stats)}
				<div align="center">{$stats}</div>
				            <table cellspacing="0">
              <thead>
                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td>Name</td>
                  <td>Email</td>
                  <td>Joined</td>
                  <td>Usergroup</td>
                  <td>Options</td>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td> John </td>
                  <td>lorm@ipsum.com </td>
                  <td>9/5/2010</td>
                  <td> Member </td>
                  <td class="tc"><a href="#" title="Edit User"><img src="./img/icons/small/user_edit.png" alt="edit user" border="0" /></a> <a href="#" title="Delete User"><img src="./img/icons/small/user_delete.png" alt="delete user" border="0" /></a></td>
                </tr>
                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td> John </td>
                  <td>lorm@ipsum.com </td>
                  <td>9/5/2010</td>
                  <td> Member </td>
                  <td class="tc"><a href="#" title="Edit User"><img src="./img/icons/small/user_edit.png" alt="edit user" border="0" /></a> <a href="#" title="Delete User"><img src="./img/icons/small/user_delete.png" alt="delete user" border="0" /></a></td>
                </tr>
                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td> John </td>
                  <td>lorm@ipsum.com </td>
                  <td>9/5/2010</td>
                  <td> Member </td>
                  <td class="tc"><a href="#" title="Edit User"><img src="./img/icons/small/user_edit.png" alt="edit user" border="0" /></a> <a href="#" title="Delete User"><img src="./img/icons/small/user_delete.png" alt="delete user" border="0" /></a></td>
                </tr>
                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td> John </td>
                  <td>lorm@ipsum.com </td>
                  <td>9/5/2010</td>
                  <td> Member </td>
                  <td class="tc"><a href="#" title="Edit User"><img src="./img/icons/small/user_edit.png" alt="edit user" border="0" /></a> <a href="#" title="Delete User"><img src="./img/icons/small/user_delete.png" alt="delete user" border="0" /></a></td>
                </tr>
                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td> John </td>
                  <td>lorm@ipsum.com </td>
                  <td>9/5/2010</td>
                  <td> Member </td>
                  <td class="tc"><a href="#" title="Edit User"><img src="./img/icons/small/user_edit.png" alt="edit user" border="0" /></a> <a href="#" title="Delete User"><img src="./img/icons/small/user_delete.png" alt="delete user" border="0" /></a></td>
                </tr>
                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td> John </td>
                  <td>lorm@ipsum.com </td>
                  <td>9/5/2010</td>
                  <td> Member </td>
                  <td class="tc"><a href="#" title="Edit User"><img src="./img/icons/small/user_edit.png" alt="edit user" border="0" /></a> <a href="#" title="Delete User"><img src="./img/icons/small/user_delete.png" alt="delete user" border="0" /></a></td>
                </tr>
                                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td> John </td>
                  <td>lorm@ipsum.com </td>
                  <td>9/5/2010</td>
                  <td> Member </td>
                  <td class="tc"><a href="#" title="Edit User"><img src="./img/icons/small/user_edit.png" alt="edit user" border="0" /></a> <a href="#" title="Delete User"><img src="./img/icons/small/user_delete.png" alt="delete user" border="0" /></a></td>
                </tr>
                                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td> John </td>
                  <td>lorm@ipsum.com </td>
                  <td>9/5/2010</td>
                  <td> Member </td>
                  <td class="tc"><a href="#" title="Edit User"><img src="./img/icons/small/user_edit.png" alt="edit user" border="0" /></a> <a href="#" title="Delete User"><img src="./img/icons/small/user_delete.png" alt="delete user" border="0" /></a></td>
                </tr>
                                <tr>
                  <td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
                  <td> John </td>
                  <td>lorm@ipsum.com </td>
                  <td>9/5/2010</td>
                  <td> Member </td>
                  <td class="tc"><a href="#" title="Edit User"><img src="./img/icons/small/user_edit.png" alt="edit user" border="0" /></a> <a href="#" title="Delete User"><img src="./img/icons/small/user_delete.png" alt="delete user" border="0" /></a></td>
                </tr>
              </tbody>
            </table>
			{else}
              <div class="grid_6">
                <div class="box-header"> <a href="?do=hour">Онлайн по часам</a> </div><br>
                {*<div class="box-header"> <a href="?do=guild">Гильдии</a> </div>*}
              </div>
			  <div class="grid_6">
                <div class="box-header"> <a href="?do=now">Текущй онлайн</a> </div><br>
                {*<div class="box-header"> <a href="?do=liders">Лидеры рас</a> </div>*}
              </div>
			{/if}
			{if isset($tbl)}
			{else}
			  <br class="cl" />
			{/if}
          </div>
        </div>
        <!-- End Web Stats --> 
        <!-- Start Web Stats -->

	<br class="cl" />
        <!-- End Web Stats --> 
        <!-- End Grid --> 
      </div>
      <!-- End Page Wrapper --> 
    </div>
    <!-- End Page Content  --> 
  </div>
</div>
<!-- Start Footer -->
<div class="footer"> Copyright 2011 by <a href="http://www.fdcore.ru/">FDCore Studio</a></div>
<!-- End Footer -->
{include file="footer.tpl"}